<!DOCTYPE html>
<html>
  <head>
    <title>Cathode Retro Docs</title>
    <link href="../../docs.css" rel="stylesheet">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" charset="UTF-8">
    <script src="../../main-scripts.js"></script>
  </head>
  <body onload="OnLoad()" class="page">
    <header class="header"><button id="sidebar-button"></button></header>
    <div id="sidebar-container" class="sidebar-container"><iframe class="sidebar-frame" src="../../sidebar.html?page=cpp-reference-enums-masktype"></iframe></div>
    <div id="content-outer" class="content-outer">
      <main>
        <h1>CathodeRetro::<wbr>MaskType</h1>
        <div class="code-definition">
          <pre>
            enum class MaskType
            {
              SlotMask,
              ShadowMask,
              ApertureGrille,
            }
          </pre>
        </div>
        <div>
          <p>
            The type of <a href="https://en.wikipedia.org/wiki/Shadow_mask" target="_blank">mask</a>
            to use for the CRT emulation.
          </p>
        </div>
        <h2>Index</h2>
        <div class="index">
          <nav>
            <menu>
              <li><a href="#ShadowMask">ShadowMask</a></li>
              <li><a href="#SlotMask">SlotMask</a></li>
              <li><a href="#ApertureGrille">ApertureGrille</a></li>
            </menu>
          </nav>
        </div>
        
        <h2>Values</h2>
        <dl class="member-list">
          <dt id="SlotMask">SlotMask</dt>
          <dd class="image-right">
            <img src="../../images/mask-slot-mask.png">
            <div>
              A mask that uses rectangular "slots" instead of the circular phosphors from earlier color
              TVs, with columns of RGB phosphor groups, where alternating columns are offset by half.
            </div>
          </dd>

          <dt id="ShadowMask">ShadowMask</dt>
          <dd class="image-right">
            <img src="../../images/mask-shadow-mask.png">
            <div>
              The earliest type of color CRT mask, this uses RGB phosphors arranged in triads (triangular
              groupings). 
            </div>
          </dd>
          <dt id="ApertureGrille">ApertureGrille</dt>
          <dd class="image-right">
            <img src="../../images/mask-aperture-grille.png">
            <div>
              This type of mask was originally released as <a href="https://en.wikipedia.org/wiki/Trinitron" target="_blank">Trinitron</a>.
              Characterized by long vertical columns of red, green, and blue rather than individual groupings of phosphors.
            </div>
          </dd>
        </dl>        
      </main>
    </div>
  </body>
</html>